<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<div th:fragment="footer(index)">
	<footer>
		<div class="button">
			<a th:if="${index} eq 1" class="bottom-btn bottom-btn-active" href="javascript:;">
				<img src="/img/home_a.png">
				<span>首页</span>
			</a>
			<a th:if="${index} ne 1" class="bottom-btn" href="/wechat/index">
				<img src="/img/home.png">
				<span>首页</span>
			</a>
			
			
			<a th:if="${index} eq 2" class="bottom-btn bottom-btn-active" href="javascript:;">
				<img src="/img/publish_a.png">
				<span>发布</span>
			</a>
			<a th:if="${index} ne 2" class="bottom-btn" href="/wechat/publishPostType">
				<img src="/img/publish.png">
				<span>发布</span>
			</a>
			<!-- 
			<a th:if="${index} eq 3" class="bottom-btn bottom-btn-active" href="javascript:;">
				<img src="/img/mine.png">
				<span>我的</span>
			</a>
			<a th:if="${index} ne 3" class="bottom-btn" href="/wechat/mine">
				<img src="/img/mine.png">
				<span>我的</span>
			</a> -->
		</div>
	</footer>
</div>
</html>